<template>
	<view class="security">
		<view class="item" @click="router('/pages/person/setUp/securityChild/protect')">
			<text>我的保护</text>
			<uni-icons type="forward" size="20" color="grey"></uni-icons>
		</view>
		<view class="item" @click="router('/pages/person/setUp/securityChild/equipment')">
			<text>设备管理</text>
			<uni-icons type="forward" size="20" color="grey"></uni-icons>
		</view>
		<view class="item" @click="router('/pages/person/setUp/securityChild/lockAccount')">
			<text>账号紧急保护</text>
			<uni-icons type="forward" size="20" color="grey"></uni-icons>
		</view>
		<view class="item" @click="router('/pages/person/setUp/securityChild/violation')">
			<text>违规记录</text>
			<uni-icons type="forward" size="20" color="grey"></uni-icons>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods: {
			// 跳转
			router(path) {
				// console.log(path)
				uni.navigateTo({
					url: path
				})
			}
		}
	}
</script>

<style lang="scss">
	.security{
		width: 100vw;
		height: calc(100vh - 88upx);
		background: rgb(242,243,247);
		overflow: hidden;
		.item{
			width: 100%;
			height: 80upx;
			line-height: 80upx;
			background: white;
			box-sizing: border-box;
			padding: 0 20upx;
			margin: 8upx 0;
			display: flex;
			align-items: center;
			justify-content: space-between;
		}
		.item:nth-child(1) {
			margin-top: 70upx;
		}
	}
</style>
